import { defineConfig } from 'windicss/helpers'

export default defineConfig({
  preflight: true,
  darkMode: 'class', // or 'media'
  extract: {
    // A common use case is scanning files from the root directory
    include: ['**/*.{html,css,jsx,tsx}'],
    // if you are excluding files, make sure you always include node_modules and .git
    exclude: ['node_modules', '.git', 'dist'],
  },
  theme: {
    extend: {
      colors: {
        primary: '#8FC31F',
        info: '#5683e2',
        gray: {
          dark: 'rgba(0,0,0,.85)',
          DEFAULT: 'rgba(0,0,0,.6)',
          light: 'rgba(0,0,0,.3)',
          last: 'rgba(0,0,0,.0.18)',
        }
      },
      fontWeight: {
        400: 400,
        500: 500,
        600: 600,
        700: 700,
        800: 800,
        900: 900,
      },
    }
  },
  shortcuts: {
    'flex-between': 'flex items-center justify-between',
    'flex-center': 'flex items-center justify-center',
  }
})
